package com.ourhours.message.utils;

import java.util.UUID;

public class LogIdUtil {
	
	public static String generateLogId() {
		long tId = (System.currentTimeMillis() % 86400000);
        int hashCodeV = UUID.randomUUID().toString().hashCode();
        if(hashCodeV < 0) {
            hashCodeV = - hashCodeV;
        }
        return String.format("%08d", tId) + String.format("%010d", hashCodeV);
	}

}
